package com.ssy.lingxi.after.sale.model.vo.request;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;

/**
 * 代客退货保存VO
 * @author 彭冬冬
 * @date 2021/11/25
 * @version 2.0.0
 */
public class ReturnGoodsAgentSaveVO extends ReturnGoodsSaveVO{
    /**
     * 所属会员id
     */
    @NotNull(message = "所属会员id要大于0")
    @Positive(message = "所属会员id要大于0")
    private Long memberId;

    /**
     * 会员角色id
     */
    @NotNull(message = "会员角色id要大于0")
    @Positive(message = "会员角色id要大于0")
    private Long memberRoleId;

    /**
     * 会员名称（会员公司名称）
     */
    @NotBlank(message = "会员名称不能为空")
    private String company;

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getMemberRoleId() {
        return memberRoleId;
    }

    public void setMemberRoleId(Long memberRoleId) {
        this.memberRoleId = memberRoleId;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }
}
